package com.sfac.javaSpringBoot.modules.test.service;

import com.sfac.javaSpringBoot.modules.common.entity.Result;
import com.sfac.javaSpringBoot.modules.test.entity.Student;

/**
 * @Description StudentService
 * @Author HymanHu
 * @Date 2021/9/14 14:57
 */
public interface StudentService {

    Result<Student> insertStudent(Student student);

    Result<Student> updateStudent(Student student);

    Result<Object> deleteStudentByStudentId(int studentId);

    Student getStudentByStudentId(int studentId);
}
